package yueyong.salarymanagement.module.business.salary.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * Copyright: yueyong (c) 2022
 *
 * @author he.shaorong
 * @version 1.0
 * @date 2022/2/4
 */
@Data
@TableName("employee_salary_info")
public class EmployeeSalaryEntity {
    @TableId(type = IdType.AUTO)
    private Long id;
    private long uid;
    private Long salaryId;
    private Long employeeId;
    private Timestamp payDate;
    private BigDecimal payAmount;
    private int payItemId;
    private String salaryItems;
    private int state;
    private Timestamp msgSendTime;
    private String stateReason;
    private int sendType;
    private long mobilePhone;
    private String emailAddress;
    private String employeeName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public Long getSalaryId() {
        return salaryId;
    }

    public void setSalaryId(Long salaryId) {
        this.salaryId = salaryId;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public Timestamp getPayDate() {
        return payDate;
    }

    public void setPayDate(Timestamp payDate) {
        this.payDate = payDate;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public int getPayItemId() {
        return payItemId;
    }

    public void setPayItemId(int payItemId) {
        this.payItemId = payItemId;
    }

    public String getSalaryItems() {
        return salaryItems;
    }

    public void setSalaryItems(String salaryItems) {
        this.salaryItems = salaryItems;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Timestamp getMsgSendTime() {
        return msgSendTime;
    }

    public void setMsgSendTime(Timestamp msgSendTime) {
        this.msgSendTime = msgSendTime;
    }

    public String getStateReason() {
        return stateReason;
    }

    public void setStateReason(String stateReason) {
        this.stateReason = stateReason;
    }

    public int getSendType() {
        return sendType;
    }

    public void setSendType(int sendType) {
        this.sendType = sendType;
    }

    public long getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(long mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }
}
